<?php
  
  $id2 = $_SESSION['_workspace'];
  $workspaceid = sqlGetValue("SELECT id FROM workspace WHERE id2='$id2'");
    
?>
